#include<stdio.h>
#include<string.h>
int main()
{
    char text[]="hello world,lo!";
    char key[]="llo";
    char *p=strstr(text,key);
    int pos;
    if(p){
         pos=p-text;
        printf("%d\n",pos);
    }else
    {
        puts("NOT Found!");
    }

    p=strstr(text+pos+strlen(key),key);

    pos=p-text;
    printf("%d\n",pos);
}
